<template>
  <a-layout id="components-layout-demo-fixed">
    <a-layout-header :style="{ position: 'fixed', zIndex: 1, width: '100%' }">
      <div class="logo"><img src="../assets/logo.png" alt="说明文字" /></div>
      <a-menu
        theme="dark"
        mode="horizontal"
        :default-selected-keys="['2']"
        :style="{ lineHeight: '64px' }"
      >
        <a-menu-item key="1">
          首页
        </a-menu-item>
        <a-menu-item key="2">
          案例库
        </a-menu-item>
        <a-menu-item key="3">
          联系我们
        </a-menu-item>
      </a-menu>
    </a-layout-header>
    <a-layout-content :style="{ padding: '0 50px', marginTop: '64px' }">
      <a-breadcrumb :style="{ margin: '16px 0' }">
        <a-breadcrumb-item>首页</a-breadcrumb-item>
        <a-breadcrumb-item>案例库</a-breadcrumb-item>
      </a-breadcrumb>
      <div :style="{ background: '#fff', padding: '24px', minHeight: '380px' }">
        <ListAjax></ListAjax>
      </div>
    </a-layout-content>
    <a-layout-footer :style="{ textAlign: 'center' }">
      西北民族大学XXX课程案例库
    </a-layout-footer>
  </a-layout>
</template>
<script>
import ListAjax from "./ListAjax.vue";
export default {
  name: "Layout",
  components: {
    ListAjax
  }
};
</script>
<style>
#components-layout-demo-fixed .logo {
  width: 120px;
  height: 31px;
  margin: 0 24px 0 0;
  float: left;
}
#components-layout-demo-fixed .logo img {
  height: 31px;
}
</style>
